
old_str = "Hello world-Dear and mary, How are you and How is Work going?"

new_str = old_str.rstrip()

print(new_str)